package com.carl.zeus.dao.system;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.carl.zeus.model.system.SysPermissionInit;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import javax.websocket.server.ServerEndpoint;
import java.util.List;

public interface SysPermissionInitMapper extends BaseMapper<SysPermissionInit> {

	@Results({
			@Result(property="permissionInit",column="permission_init")})
	@Select("SELECT * FROM sys_permission_init ORDER BY sort ASC")
	List<SysPermissionInit> selectAll();

}